//
//  Language.h
//  TownCenterProject
//
//  Created by ASAL on 7/5/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#undef NSLocalizedString
#define NSLocalizedString(key,comment) [Language get:(key) alter:(comment)]

@interface Language : NSObject

+(NSBundle *)bundle;//獲取當前資源文件

+(void)initUserLanguage;//初始化語言文件

+(NSString *)userLanguage;//獲取應用當前語言

+(void)setUserlanguage:(NSString *)language;//設置當前語言

+(UIStoryboard *)locatizedStoryboardWithName:(NSString *)storyBoardName;//取得當前語系的Storyboard


+(NSString *)get:(NSString *)key alter:(NSString *)alternate;

+(NSString *)getImagePath:(NSString *)key WithExtension:(NSString *)extension;


@end
